﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <style type="text/css">
        table {
            border-collapse: collapse;
        }

            table td, table th {
                border: solid 1px black;
                padding: 10px;
            }
    </style>
</head>
<body>
    <div> 
        <table>
            <tr>
                <th>经销商名称</th>
                <th>地址</th>
                <th>联系方式</th>
            </tr>
           @foreach (Aceso.LOreal.Vendor.Dto.VendorDto vendor in ViewBag.ViewModel)
           {
               <tr>
                   <td>
                       @vendor.Name
                   </td>
                   <td>
                       @vendor.Address
                   </td>
                   <td>
                       @vendor.Contact
                   </td>
               </tr>
           }
        </table>
    </div>
</body>
</html>
